package homewokr;

import java.util.Scanner;

public class J04_CacurateFee {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int km;
		
		System.out.println("거리를 입력하세요(km). : ");
		km =  sc.nextInt();
		
		sc.close();
		
		switch(km / 50){
		case 0 : System.out.println("10000원");
		break;
		case 1 : System.out.println("18000원");
		break;
		case 2 :
		case 3 :
		case 4 :
		case 5 : System.out.println("55000원");
		break;
		default : System.out.println("75000원");
		
		}
		

	}

}
